package com.example.springblogdemo.Common.Exception;

import lombok.Data;

@Data
public class BlogException extends RuntimeException {
    private int code;
    private String errmsg;

    public BlogException( int code, String errmsg) {
        this.code = code;
        this.errmsg = errmsg;
    }
}
